package zheng.es;


import org.elasticsearch.search.aggregations.Aggregation;

import java.util.List;
import java.util.Map;

/**
 * @author heshuangxi
 */
public class BatchQueryResult {

    //数量
    private Integer count;

    //数据JSONList
    private List<String> dataJsonList;

    //排序值
    private List<Object> sortValue;

    //聚合结果
    Map<String, Aggregation> aggregationMap;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List<String> getDataJsonList() {
        return dataJsonList;
    }

    public void setDataJsonList(List<String> dataJsonList) {
        this.dataJsonList = dataJsonList;
    }

    public List<Object> getSortValue() {
        return sortValue;
    }

    public void setSortValue(List<Object> sortValue) {
        this.sortValue = sortValue;
    }

    public Map<String, Aggregation> getAggregationMap() {
        return aggregationMap;
    }

    public void setAggregationMap(Map<String, Aggregation> aggregationMap) {
        this.aggregationMap = aggregationMap;
    }
}
